﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/Admin.Master" CodeBehind="Contact.aspx.cs" Inherits="Photography.Admin.AddContact" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table border="1">
        <tr>
            <td colspan="2">
                <%if (string.IsNullOrEmpty(Request["ContactID"]))
                  {%>Add New Contact<%}
                  else
                  { %>Edit Contact<%} %>
            </td>
        </tr>
        <tr>
            <td>
                Full Name
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtName" Width="326px" />
            </td>
        </tr>
        <tr>
            <td>
                Email
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtEmail" Width="326px" />
            </td>
        </tr>
        <tr>
            <td>
                Mobile
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtMobile" Width="326px" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <asp:Button runat="server" ID="btnSave" Text="Save" OnClick="btnSave_Click" />
            </td>
        </tr>
    </table>
</asp:Content>